<template>
	<view class="app">
		<map :latitude="lat" :longitude="log" :style="{width: '100%',height: height}"></map>
	</view>
</template>

<script>
export default {
	data() {
		return {
			lat:'34.60001',
			log:'119.178821',
			height:''
		};
	},
	components: {},
	onShow() {
		uni.getSystemInfo({
		    success:(res)=>  {
				this.height =`${res.windowHeight*2}upx` 
		        console.log(res.windowHeight);
				console.log(this.height);
				
		    }
		});
		
	},
	methods: {
		
	}
};
</script>

<style lang="scss">

</style>
